from scrapy.cmdline import execute
import sys
import os

sys.path.append(os.path.dirname(os.path.abspath(__file__)))         # 找到本个项目的根目录，需要自己设定

# sys.path.append(r"D:\code\Python-Project\Scrapy\Project\DogRecruitment\DogRecruitment\spiders")

# execute(['scrapy','crawl','FindPeople'])
# execute(['scrapy','crawl','FindPeopleDetail'])
# execute(['scrapy','crawl','FindJob'])
# execute(['scrapy','crawl','FindJobDetail'])
execute((['scrapy','crawl','CompanyDetail']))